/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.polymorphism.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.polymorphism.service.EmployeeService;
import za.ac.cput.polymorphism.service.internal.EmployeeAccountService;

/**
 *
 * @author Enkosi
 */
@Configurable
public class Config {
    @Bean(name="employeeService")
    public EmployeeService provideEmployeeDeatials(){
        return new EmployeeAccountService();
    }
}
